package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配置参数对象 applets_config_param
 * 
 * @author cyt
 * @date 2021-07-29
 */
public class AppletsConfigParam implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 参数编号 */
    @Excel(name = "参数编号")
    private String paramnumber;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String paramname;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setParamnumber(String paramnumber) 
    {
        this.paramnumber = paramnumber;
    }

    public String getParamnumber() 
    {
        return paramnumber;
    }
    public void setParamname(String paramname) 
    {
        this.paramname = paramname;
    }

    public String getParamname() 
    {
        return paramname;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("paramnumber", getParamnumber())
            .append("paramname", getParamname())
            .append("state", getState())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
